package com.sm.healthy.model

import com.sm.healthy.base.App
import me.hgj.jetpackmvvm.base.viewmodel.BaseViewModel

class HistoryEcgModel : BaseViewModel() {

    private val dao = App.database.ecgDao()

    fun getAllEcgList() = dao.getEcg()
    fun getEcgByTime(before: Long, after: Long) = dao.getEcgByTime(before, after)


}